A Mutual Exclusion Algorithm Based on Request and Fair

نویسندگان

  • Jingsong Zhang
  • Mansur H. Samadzadeh
چکیده

iii PREFACE Process Synchronization is the set of techniques that are used to coordinate execution amongst processes. A common resource such as shared memory or a device may require exclusive access. In a multitasked/multithreaded system, processes have to coordinate amongst themselves to ensure that access is exclusive and fair. The mutual exclusion problem is one of the problems in inter-process communication that has been studied extensively. A number of mutual exclusion algorithms have been proposed. They have had varying degrees of success in handling the problem. These algorithms can be classified into hardware solutions and software solutions. The most well-known software solutions are turn-taking algorithms. This thesis gives an alternative mutual exclusion algorithm that is based on request and fair access instead of turn taking. The algorithmic details and the implementation of the new mutual exclusion algorithm are given in this thesis report. The new algorithm's implementation was tested on different multi-tasking multi-processor systems. The test environments consisted of a Dual CPU Dell PowerEdge 1800 running Windows 2003 Advanced Server and a four CPU HP ProLiant DL580 running Windows 2000 Server. The new algorithm was implemented in C#. The new algorithm was tested using classical dining philosophers and race condition problems. The test results showed that the new algorithm successfully solved these traditional mutual exclusion problems. iv ACKNOWLEDGEMENTS I would like to express my appreciation to my graduate advisor Dr. M. H. my thesis research work. His inspiring insight and patience guided me through my research and provided me with a valuable experience. My sincere appreciation also extends to Drs. their advice and serving on my graduate committee. Finally, I also wish to thank my wife and parents for their encouragement and support throughout my graduate studies.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Improved Token-Based and Starvation Free Distributed Mutual Exclusion Algorithm

Distributed mutual exclusion is a fundamental problem of distributed systems that coordinates the access to critical shared resources. It concerns with how the various distributed processes access to the shared resources in a mutually exclusive manner. This paper presents fully distributed improved token based mutual exclusion algorithm for distributed system. In this algorithm, a process which...

متن کامل

A Token-Based Fair Algorithm for Group Mutual Exclusion in Distributed Systems

The group mutual exclusion (GME) problem is a generalization of the mutual exclusion problem. In group mutual exclusion, a process requests a session before entering its critical section (CS). Processes requesting the same session are allowed to be in their CS simultaneously, however, processes requesting different sessions must execute their CS in mutually exclusive way. The paper presents a t...

متن کامل

A Distributed Deadlock Free Quorum Based Algorithm for Mutual Exclusion

Quorum-based mutual exclusion algorithms enjoy many advantages such as low message complexity and high failure resiliency. The use of quorums is a well-known approach to achieving mutual exclusion in distributed environments. Several distributed based quorum mutual exclusion was presented. The number of messages required by these algorithms require between 3 and 5 , where n is the size of under...

متن کامل

A Torus Quorum Protocol for Distributed Mutual Exclusion

Designing efficient and fault-tolerant algorithms for solving the mutual exclusion problem is an important issue in distributed systems. Many algorithms have been proposed in the literature, and they are being broadly classified into two types: token-based and permissionbased [5, 21]. In a token-based algorithm, the system uses a unique token to represent the privilege for the node possessing i...

متن کامل

An Eecient Token-based Algorithm for Distributed Mutual Exclusion

In this paper, we present an eecient token-based algorithm for distributed mutual exclusion. The algorithm uses a distributed queue, which is not necessarily FIFO, to enqueue the request messages of the nodes for entry into the critical section (CS). These request messages are timestamped using roughly synchronized clocks. On the average, the algorithm requires 2 to 3 number of messages per cri...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007